package user;

import java.util.Scanner;

public class AdminUser extends User{

    Scanner scanner = new Scanner(System.in);
    public AdminUser(String name, int userID) {
        super(name, userID,"管理员");
    }

    @Override
    public int dispaly() {
        System.out.println("管理员"+name+"操作菜单");
        System.out.println("1.查找图书");
        System.out.println("2.打印所有图书");
        System.out.println("3.退出系统");
        System.out.println("4.上架图书");
        System.out.println("5.下架图书");
        System.out.println("6.查看借阅次数");
        System.out.println("7.查看库存状态");
        System.out.println("请选择你的操作：");
        return scanner.nextInt();
    }
}
